<?php

/**
 * Indicates that the class can be configured with Mz_Configure
 *
 * @author    Mon Zafra <monzee at gmail>
 * @copyright (c)2009 Mon Zafra
 * @package   Mz
 * @license   http://monzee.wordpress.com/license New BSD
 * @version   $Id: Configurable.php 38 2009-02-18 17:12:39Z monzee $
 */
interface Mz_Configurable
{
    /**
     * If true, Mz_Configure will invoke the magic caller to set an option
     *
     * @return bool
     */
    public function hasMagicSetter();

    /**
     * Must return the value of the option $option, or $default if not set
     * 
     * @param string $option 
     */
    public function getOption($option, $default = null);
}
